package com.bdth.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 徐斌
 * @Date: 2018-03-06 11:00
 */
public class BaseModel implements Serializable {

	private Integer id;

	private Date createTime;

	private Date updateTime;

	private Integer deleted;


	public BaseModel() {
		this.createTime = new Date();
		this.deleted = 0;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDeleted() {
		return deleted;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}


}
